import request from '@/utils/request.js';
export function sentMessage(data) {
	return request({
		url: `/app-api/applet/register/interface/sentShortMessage`,
		method: 'post',
		data: data
	})
}
export function login(data) {
	return request({
		url: `/admin-api/system/auth/login`,
		method: 'post',
		data: data,
	})
}
 
export function loginOut(data) {
	return request({
		url: `/admin-api/system/auth/logout`,
		method: 'post',
		data: data,
	})
}
export function getUserInfo() {
	return request({
		url: `/app-api/applet/register/interface/getUserInfo`,
		method: 'GET', 
	})
}
export function getcentralWarehouse(){
	return request({
		url: `/admin-api/system/auth/get-permission-info-systemMark?systemMark=WMS_WEB`,
		method: 'GET'
	})
}
export function getDict(params){
	return request({
		url: `/admin-api/system/dict-data/page`,
		method: 'GET',
		params:{
			pageNo:1,
			pageSize:10,
			name:"",
			dictType:"",
			...params
		}
	})
}